package com.youlai.system.service;

import com.youlai.system.common.base.BaseQuery;
import com.youlai.system.model.query.UserBusinessQuery;
import com.youlai.system.model.vo.*;

import java.util.List;

public interface DashBoardService {

    /**
     * 首页统计数量
     *
     * @return
     */
    DashBoardCountVO loadAllCountData(BaseQuery baseQuery);


    /**
     * 问题分类统计
     *
     * @return
     */
    List<QuestionScoreCountVO> loadQuestionCountData(BaseQuery baseQuery);

    /**
     * 培训地点统计
     *
     * @return
     */
    List<LocationScoreCountVO> loadLocationCountData(BaseQuery baseQuery);

    /**
     * 整改措施统计
     *
     * @return
     */
    List<MeasureScoreCountVO> loadMeasureCountData(BaseQuery baseQuery);


    /**
     * 故障科目统计
     *
     * @return
     */
    List<CourseScoreCountVO> loadCourseCountData(BaseQuery baseQuery);

    /**
     * 部门等级统计
     *
     * @return
     */
    List<DeptDegreeCountVO> loadDeptDegreeCountData();


    /**
     * 等级统计
     *
     * @return
     */
    List<DegreeCountVO> loadDegreeCountData(BaseQuery baseQuery);

    /**
     * @param query
     * @return
     */
    UserBusinessCard getUserBusinessCard(UserBusinessQuery query);
}
